home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 85 / CD Temático 40 Febrero 2004.iso / DOS / ntfs / dos / types.h < prev   
Encoding:
C/C++ Source or Header  |  2001-02-11  |  1.6 KB  |  59 lines

  1. /*
  2.  
  3.     file: types.h
  4.  
  5.     Copyright (C) 1998-2001  Christophe GRENIER <grenier@nef.esiea.fr>
  6.   
  7.     this software is free software; you can redistribute it and/or modify
  8.     it under the terms of the gnu general public license as published by
  9.     the free software foundation; either version 2 of the license, or
  10.     (at your option) any later version.
  11.   
  12.     this program is distributed in the hope that it will be useful,
  13.     but without any warranty; without even the implied warranty of
  14.     merchantability or fitness for a particular purpose.  see the
  15.     gnu general public license for more details.
  16.   
  17.     you should have received a copy of the gnu general public license
  18.     along with this program; if not, write to the free software
  19.     foundation, inc., 675 mass ave, cambridge, ma 02139, usa.
  20.  
  21.  */
  22.  
  23. typedef char int8;
  24. typedef short int int16;
  25. typedef int int32;
  26. typedef long long int int64;
  27.  
  28. typedef char __s8;
  29. typedef short int __s16;
  30. typedef int __s32;
  31. typedef long long int __s64;
  32.  
  33. typedef unsigned char uint8;
  34. typedef unsigned short int uint16;
  35. typedef unsigned int uint32;
  36. typedef unsigned long long int uint64;
  37.  
  38. typedef unsigned char __u8;
  39. typedef unsigned short int __u16;
  40. typedef unsigned int __u32;
  41. typedef unsigned long long int _u64;
  42.  
  43. typedef unsigned char uchar;
  44. typedef unsigned char byte;
  45. typedef unsigned short int word;
  46. typedef unsigned long int dword;
  47.  
  48. #if defined __DJGPP__
  49. typedef unsigned int uint;
  50. typedef uint8 u_int8_t;
  51. typedef uint16 u_int16_t;
  52. typedef uint32 u_int32_t;
  53. typedef uint64 u_int64_t;
  54. #else
  55. #include <sys/types.h>
  56. #endif
  57.  
  58. #include <sys/types.h>
  59.